package org.zfes.snowier.zbss.xzy.store.meta;

import java.util.Map;
import java.util.Set;

public interface TableMetaCache {

	Map<String,Set<String>> getAllTables();
	
	Set<String> getCols(String tablename);
	
	boolean isTableExists(String tablename);
	
	boolean isColExists(String tablename,String colname);
	
	void addTable(String tablename,Set<String> cols);
	
	void addTables(Map<String,Set<String>> tableMetaMap);
	
	void removeTable(String tablename) ;
	
	void addCols(String tablename,Set<String> cols);
	
	void addCol(String tablename,String col);
	
	void removeCol(String tablename,String col);

	
}
